

package jetbrains.buildServer.server.rest.swagger;

import jetbrains.buildServer.server.rest.swagger.annotations.LocatorDimension;

import java.lang.annotation.Annotation;

public class CommonLocatorDimension implements LocatorDimension {
  public final String value;
  public final String dataType;
  public final String format;
  public final String notes;
  public final String allowableValues;
  public final boolean hidden;

  public CommonLocatorDimension(String value, String dataType, String format, String notes, String allowableValues, boolean hidden) {
    this.value = value;
    this.dataType = dataType;
    this.format = format;
    this.notes = notes;
    this.allowableValues = allowableValues;
    this.hidden = hidden;
  }

  @Override
  public String value() {
    return this.value;
  }

  @Override
  public String dataType() {
    return this.dataType;
  }

  @Override
  public String format() {
    return this.format;
  }

  @Override
  public String notes() {
    return this.notes;
  }

  @Override
  public String allowableValues() { return this.allowableValues; }

  @Override
  public Class<? extends Annotation> annotationType() {
    return null;
  }

  @Override
  public boolean hidden() {
    return this.hidden;
  }
}